﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace F2S.LINQ2LinkedIn.Model
{
    [XmlRoot("update-comments")]
    public class UpdateCommentsCollection
    {
        [XmlAttribute("count")]
        public long Count { get; set; }

        [XmlElement("update-comments")]
        public UpdateComment[] UpdateComments { get; set; }
    }

    /*
     <updates total="2">
  <update>
    <timestamp>1378330054756</timestamp>
    <update-key>PICU-19787429-5781135262088179712-*1</update-key>
    <update-type>PICU</update-type>
    <update-content>
      <person>
        <id>2BDujkfZtF</id>
        <first-name>Nadia</first-name>
        <last-name>McKinney</last-name>
        <headline>Manager, Hiring at Sapient Global Markets</headline>
        <picture-url>http://m.c.lnkd.licdn.com/mpr/mprx/0_fquK8j90RM6e05zqDNpi8x9OMUKb15kqD1Zf8YqaQYkn23PN_-yyaO8hBzrMKC54acmm7JQ4VdhQ</picture-url>
        <api-standard-profile-request>
          <url>http://api.linkedin.com/v1/people/2BDujkfZtF</url>
          <headers total="1">
            <http-header>
              <name>x-li-auth-token</name>
              <value>name:sWWT</value>
            </http-header>
          </headers>
        </api-standard-profile-request>
        <site-standard-profile-request>
          <url>http://www.linkedin.com/profile/view?id=19787429&amp;authType=name&amp;authToken=sWWT&amp;trk=api*a3135321*s3210031*</url>
        </site-standard-profile-request>
      </person>
    </update-content>
    <is-commentable>true</is-commentable>
    <update-comments total="0" />
    <is-likable>true</is-likable>
    <is-liked>false</is-liked>
    <num-likes>5</num-likes>
    <likes total="5" count="3" start="0">
      <like>
        <person>
          <id>xeZQRZ73Qs</id>
          <first-name>Daniel</first-name>
          <last-name>Jones</last-name>
          <headline>Lead Accounting Analyst at Spectra Energy</headline>
        </person>
      </like>
      <like>
        <person>
          <id>RFMdkrvMsZ</id>
          <first-name>Kimberly T</first-name>
          <last-name>Washington</last-name>
          <headline>Traffic Manager at WHBQ Fox Television Stations</headline>
          <picture-url>http://m.c.lnkd.licdn.com/mpr/mprx/0_3Puunxk0MhkcK_mt3lx0np_pvTlJK5Yt_NZ1npCaEk5d73W-Svy84y9hUfA61CxYhKmtMUyBxtUh</picture-url>
        </person>
      </like>
      <like>
        <person>
          <id>MdAb0CMIot</id>
          <first-name>Monica</first-name>
          <last-name>Lee</last-name>
          <headline>Lead Business Development Manager at Genuent</headline>
          <picture-url>http://m.c.lnkd.licdn.com/mpr/mprx/0_iIoQnZaFXkqzEw0YiaRMnR4I6T39eHmYTWOJnRxUJCz6BuMO7DVE4UIvHdTdIf7tGHHZMySblilA</picture-url>
        </person>
      </like>
    </likes>
  </update>
  <update>
    <timestamp>1378137635585</timestamp>
    <update-key>PICU-19043693-5780328197606371328-*1</update-key>
    <update-type>PICU</update-type>
    <update-content>
      <person>
        <id>dsMSXy7XRL</id>
        <first-name>James</first-name>
        <last-name>Pershing</last-name>
        <headline>Partner at SunGard Consulting Services, Wealth Management Practice Lead</headline>
        <picture-url>http://m.c.lnkd.licdn.com/mpr/mprx/0_Dr__gRQfAKGJKAt2_n8KgZQxlN5erNi27cBpgML7mllMfrquT9P71JlTxVLnPPGh21TgtORnrQq6</picture-url>
        <api-standard-profile-request>
          <url>http://api.linkedin.com/v1/people/dsMSXy7XRL</url>
          <headers total="1">
            <http-header>
              <name>x-li-auth-token</name>
              <value>name:b-Ss</value>
            </http-header>
          </headers>
        </api-standard-profile-request>
        <site-standard-profile-request>
          <url>http://www.linkedin.com/profile/view?id=19043693&amp;authType=name&amp;authToken=b-Ss&amp;trk=api*a3135321*s3210031*</url>
        </site-standard-profile-request>
      </person>
    </update-content>
    <is-commentable>true</is-commentable>
    <update-comments total="0" />
    <is-likable>true</is-likable>
    <is-liked>false</is-liked>
    <num-likes>0</num-likes>
  </update>
</updates>

     * */
}
